package com.fps.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fps.domain.ResponseResult;
import com.fps.domain.dto.AddArticleDto;
import com.fps.domain.entity.Post;

public interface PostService extends IService<Post> {
    ResponseResult hotArticleList();

    ResponseResult articleList(Integer pageNum, Integer pageSize, Long categoryId);

    ResponseResult getPostDetail(Long id);

    ResponseResult add(AddArticleDto article);
}
